<div class="page-sidebar">
    <div class="sidebar-menugroup">
        <div class="sidebar-grouptitle">个人中心</div>
        <ul class="sidebar-menu">
            <li class="sidebar-menuitem"><a href="../notifications">最新通知</a></li>
            <li class="sidebar-menuitem active"><a href="../mybookings">我的预定</a></li>
            <li class="sidebar-menuitem"><a href="../mymeetings">我的会议</a></li>
        </ul>
    </div>
    <div class="sidebar-menugroup">
        <div class="sidebar-grouptitle">人员管理</div>
        <ul class="sidebar-menu">
            <li class="sidebar-menuitem"><a href="../register">员工注册</a></li>
            <li class="sidebar-menuitem" th:if="${session.currentuser != null && session.currentuser.role == '2'}"><a
                    href="/admin/departments">部门管理</a></li>
            <li class="sidebar-menuitem" th:if="${session.currentuser != null && session.currentuser.role == '2'}"><a
                    href="/admin/approveAccount">注册审批</a></li>
            <li class="sidebar-menuitem" th:if="${session.currentuser != null && session.currentuser.role == '2'}"><a
                    href="/admin/searchEmployees?status=1">搜索员工</a></li>
        </ul>
    </div>
    <div class="sidebar-menugroup">
        <div class="sidebar-grouptitle">会议预定</div>
        <ul class="sidebar-menu">
            <li class="sidebar-menuitem" th:if="${session.currentuser != null && session.currentuser.role == '2'}"><a
                    href="/admin/toAddMeetingRoom">添加会议室</a></li>
            <li class="sidebar-menuitem"><a href="../meetingRooms">查看会议室</a></li>
            <li class="sidebar-menuitem"><a href="../bookMeeting">预定会议</a></li>
            <li class="sidebar-menuitem"><a href="../searchMeetings">搜索会议</a></li>
        </ul>
    </div>
</div>
